// -----------------------------------------------------------------------
// <copyright file=DonThuocChiTietBusiness.cs company="QSoft Viet Nam">
// TODO: dangpp@qsoftvietnam.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DonThuocChiTietBusiness
    {
        DonThuocChiTietDataAccess objDa = null;

        public DonThuocChiTietBusiness()
        {
            objDa = new DonThuocChiTietDataAccess();
        }

        public bool InsertDonThuocChiTiet(DonThuocChiTietEntity obj)
        {
            return objDa.InsertDonThuocChiTiet(obj);
        }

        public bool EditDonThuocChiTiet(DonThuocChiTietEntity obj)
        {
            return objDa.EditDonThuocChiTiet(obj);
        }

        public bool DeleteDonThuocChiTiet(string maVatTu, string maDonThuoc)
        {
            return objDa.DeleteDonThuocChiTiet(maVatTu, maDonThuoc);
        }

        public DonThuocChiTietEntity GetDonThuocChiTiet(string maVatTu, string maDonThuoc)
        {
            return objDa.GetDonThuocChiTiet(maVatTu, maDonThuoc);
        }

        public IList<DonThuocChiTietEntity> GetDonThuocChiTietList(string maDonThuoc)
        {
            return objDa.GetDonThuocChiTietList(maDonThuoc);
        }

    }
}
